import Vue from 'vue'
import App from './App'
import uView from '@/uni_modules/uview-ui'
import to, { jumped } from './utils/jump'
import http from './utils/http'
import store from '@/utils/store'
import f from '@/utils/fun'
import showModal from '@/utils/showModal'
import upload from '@/utils/upload'


Vue.config.productionTip = false
Vue.use(uView)
uni.$u.config.unit = 'rpx'
Vue.prototype.$colorMain = '#1890ff'
Vue.prototype.$to = to
Vue.prototype.$f = f
Vue.prototype.$showModal = showModal
Vue.prototype.$http = http
Vue.prototype.$upload = upload

Vue.mixin({ onLoad: jumped })
App.mpType = 'app'
const app = new Vue({
  store,
  ...App
})
app.$mount()
